document.getElementById("UserType").addEventListener("click",function (e) {
    var self=e.target,flag=self.getAttribute("data-type");
    var  Employee=document.querySelectorAll(".Employee");
    var  boss=document.querySelector(".boss");
    var active=this.querySelector(".active");
    if(active){
        active.setAttribute("class","user-item");
    }
    self.setAttribute("class","user-item active");
    if(flag==1){
        for(var i=0,j=Employee.length;i<j;i++){
            Employee[i].setAttribute("class","Employee");
        }
        boss.setAttribute("class","register boss hidden");
    }else {
        for(var i=0,j=Employee.length;i<j;i++){
            Employee[i].setAttribute("class","Employee hidden");
            var input=Employee[i].querySelector("input");
            if(input){
                input.value="";
            }
        }
        boss.setAttribute("class","register boss");
    }

})
var file="GSDF2379052843SDFGSDGFS";
  file=file.toLowerCase();
  console.log(file)